Skip to main content

All Questions

0votes
1answer
708views

I can check output of a command in shell script but I cannot do the same in crontab

I can run my script as .sh file in ubuntu shell but it does not work when it is called from cron job.I run my script into an ubuntu container (using docker) as if [ `java -jar /path/to/my.jar |grep -...
foad322's user avatar
0votes
2answers
1kviews

how to properly log the output of a console program that frequently updates "parts" of the screen, resulting in a messy log file?

I have some Java executable (jar) that is run my some shell script from a cron job once every night. That executable does not print log statements "as usual" just by printing them out in a ...
Axel Werner's user avatar

close